﻿// --------------------------------------------------------------------------------------
// <copyright file="GeneralConfiguration.cs" company="NGroup">
// Copyright (c) NGroup. All rights reserved.
// </copyright>
// --------------------------------------------------------------------------------------
// <history>
//     <change who="Bui Thanh Nam" date="2013.12.22">Create</change>
// </history>
// --------------------------------------------------------------------------------------

namespace NGroup.VTL.Core.Const
{
    using System.Collections.Generic;

    public class GeneralConfiguration
    {
        public const int PageSize = 12;

        public static Dictionary<int, string> PageSizeCollection = new Dictionary<int, string> 
                                                            { 
                                                                { 12, "12 sản phẩm" },
                                                                { 18, "18 sản phẩm" },
                                                                { 24, "24 sản phẩm" }
                                                            };

        // Data key to get in ViewBag
        public const string TrangChu_SanPhamMoi = "TrangChu_SanPhamMoi";

        // Data key to get in ViewBag
        public const string TrangChu_DayDeoMoi = "TrangChu_DayDeoMoi";

        // Data key to get in ViewBag
        public const string TrangChu_TheNhuaMoi = "TrangChu_TheNhuaMoi";

        // Data key to get in ViewBag
        public const string TrangChu_TinTucMoi = "TrangChu_TinTucMoi";

        //Khong hien tren trang chu
        public const int Khong_hien_tren_Trang_chu = 0;

        //Hien thi o san pham moi
        public const int Hien_Thi_O_San_Pham_moi = 1;

        //Hien Thi o day deo the
        public const int Hien_Thi_O_Day_deo_the = 2;
        //Hien Thi O the nhua
        public const int Hien_Thi_O_The_Nhua = 3;

        public static readonly char[] IllegalCharactersInUsername = new char[] { '~', '`', '!', '@', '#', '$', '%', '^', '&', '*', '(', ')', '-', '_', '=', '+', '{', '[', '}', ']', '|', '\\', ':', ';', '<', ',', '>', '.', '?', '/' };

        public const string LanguageCookieName = "vtlul";
    }
}
